<template>
  <div>
    <h4>嵌套路由</h4>
    <router-link to="/index">主页</router-link>
    <router-link to="/news">新闻</router-link>
    <router-link to="/sports">体育</router-link>

    <router-view></router-view>
  </div>
</template>

<script>
export default { name: "App" };
</script>

<style scoped>
a {
  margin-left: 5px;
}
</style>
